package com.tepth.busfix.bean.reponse;

import java.io.Serializable;
import java.util.List;

/**
 * Created by zhangyu on 2017/5/23.
 */

public class TroubleBean implements Serializable {
    /**
     * Id : 2
     * Classification : {"Id":22981,"Code":"20141191","Name":"发动机系"}
     * TroubleTypeId : 1
     * Code : 01
     * Name : 发动机附加作业及换件
     * Operation : {"Id":2,"Code":"02","Name":"更换"}
     * Component : {"Id":21,"Code":"0021","Name":"半轴","Unit":"个"}
     * Accessory : {"Id":21,"Code":"0021","Name":"半轴","Unit":"个"}
     * UseCount : 1
     * WorkPerson : {"Id":22981,"Code":"20141191","Name":"黄权","PositionInfo":{"Id":22981,"Code":"20141191","Name":"黄权"}}
     */

    private int Id;
    private CommonBean Classification;
    private int TroubleTypeId;
    private String Code;
    private String Name;
    private CommonBean Operation;
    private PartBean Component;
    private PartBean Accessory;
    private int UseCount;
    private Person WorkPerson;
    private List<Person> ListWorkPerson;

    public Person getWorkPerson() {
        return WorkPerson;
    }

    public void setWorkPerson(Person workPerson) {
        WorkPerson = workPerson;
    }

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public CommonBean getClassification() {
        return Classification;
    }

    public void setClassification(CommonBean classification) {
        Classification = classification;
    }

    public int getTroubleTypeId() {
        return TroubleTypeId;
    }

    public void setTroubleTypeId(int troubleTypeId) {
        TroubleTypeId = troubleTypeId;
    }

    public String getCode() {
        return Code;
    }

    public void setCode(String code) {
        Code = code;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public CommonBean getOperation() {
        return Operation;
    }

    public void setOperation(CommonBean operation) {
        Operation = operation;
    }

    public PartBean getComponent() {
        return Component;
    }

    public void setComponent(PartBean component) {
        Component = component;
    }

    public PartBean getAccessory() {
        return Accessory;
    }

    public void setAccessory(PartBean accessory) {
        Accessory = accessory;
    }

    public int getUseCount() {
        return UseCount;
    }

    public void setUseCount(int useCount) {
        UseCount = useCount;
    }

    public List<Person> getListWorkPerson() {
        return ListWorkPerson;
    }

    public void setListWorkPerson(List<Person> listWorkPerson) {
        ListWorkPerson = listWorkPerson;
    }
}
